<table width="100%" cellpadding="0" cellspacing="0" style="border:1px solid #C4CDD2; border-top:0px; background:#DBE1E5; padding:0px 5px 5px 5px">
	<tr>
		<td>
		
		<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td height="10"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
			</tr>
			<tr>
				<td height="1" bgcolor="#ADB9BF"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
			</tr>
			<tr>
				<td height="1" bgcolor="#E4E9EC"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
			</tr>
			<tr>
				<td height="10"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
			</tr>
		</table>		
		<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td height="1" bgcolor="#C4CDD2"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
			</tr>			
		</table>
		<table width="100%" cellpadding="0" cellspacing="0" style="border:1px solid #C4CDD2; border-top:0px;">
			<tr>
				<td width="1" bgcolor="#DBE1E5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
				<td style="border:5px solid white; border-bottom:0px">
					<table width="100%" cellpadding="0" cellspacing="0">
					<tr>
						<td style="border:1px solid #8CA2B1; " bgcolor="#FFFFFF">
							<table width="100%" cellpadding="0" cellspacing="0">
								<tr>
									<td style="line-height:150%">											
									<form action="index.php" method="post" name="form{$data.page.id}" enctype="multipart/form-data">
									<input name="admin" type="hidden" value="1">
									<input name="mod" type="hidden" value="client">
									<input name="act" type="hidden" value="mod">
									<input name="module" type="hidden" value="clients">
									<input name="client_id" type="hidden" value="{$smarty.get.client_id}">
									<input name="referer" type="hidden" value="{ext->get_referer}">
										{if $smarty.get.client_id > 0}
											{ext->class_function class="clients" func="get_client_info_by_id_admin" id=$smarty.get.client_id assign="client_info"}
											{assign var="elements" value=$client_info.data}
											{include file="admin/modules/client/fields/selector.html"}
											<table width="100%" cellpadding="0" cellspacing="0">
												<tr>
													<td height="1" bgcolor="#DBE1E5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
												</tr>
											</table>
											<table width="100%" cellpadding="0" cellspacing="0">
												<tr>
													<td bgcolor="#FFFFFF" height="5">						
													<input onClick="doSubmit('form{$data.page.id}'); return false;" type="button" value="{t t='Išsaugoti pakeitimus'}" class="defaultFormButton" style="margin:10px ">
													</td>		
												</tr>
											</table>
										{else}
											Nera tokio kliento!
										{/if}		
									</form>									
									</td>		
								</tr>
							</table>
						</td>		
					</tr>
					</table>
				<table width="100%" cellpadding="0" cellspacing="0">
					<tr>
						<td bgcolor="#FFFFFF" height="5">						
						</td>		
					</tr>
				</table>
				</td>	
				<td width="1" bgcolor="#DBE1E5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
			</tr>
		</table>
		</td>		
	</tr>	
</table>

{if !$first}
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="1" bgcolor="#DBE1E5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="20"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
	</tr>
</table>
{/if}




